<?php
/**
 +------------------------------------------------------------------------------
 *
 * ephp is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.

 * ephp is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with ephp.  If not, see <http://www.gnu.org/licenses/>.
 +------------------------------------------------------------------------------
 * @version 2.2
 * @author  WangXian <admin@loopx.cn>
 * @package ephp
 * @link	 http://code.google.com/p/php-framework-ephp/
 * @E-mail   admin@loopx.cn
 * @filename index.php
 * @creation date 2010-6-12
 * @modified date 2010-10-17 18:09:17
 +------------------------------------------------------------------------------
 */

define("APP_PATH", dirname(__FILE__).'/_app');			#项目路径
define('FW_PATH', '../../_framework');	#framework路径

##include APP_PATH.'/exts/functions.php';					#加载项目自定义functions

include FW_PATH . '/index.php';	#加载框架
$app = new app();				#系统实例化及调度开始
$app->run();					#运行程序

/* End of file index.php */
/* Location: ./index.php */